package com.gjy.spring.z1;

import org.junit.jupiter.api.Test;
import org.springframework.scheduling.support.CronExpression;

/**
 * @author gjy
 * @version 1.0
 * @since 2024-03-07 10:35:14
 */
public class T1Test {

    @Test
    public void test1() {
        boolean validExpression = CronExpression.isValidExpression("0 10 0,9 * * 1,2");
        boolean validExpression2 = CronExpression.isValidExpression("0 43 18 * * *");
        System.out.println(validExpression);
        System.out.println(validExpression2);
    }
}
